// uno.config.ts
import { defineConfig ,toEscapedSelector as e } from "unocss";

import { presetUno } from "unocss"; //  预定义配置
import { presetIcons } from "unocss"; // CSS 图标
import { presetAttributify, presetTypography } from "unocss"; // 版式预设
// import transformerDirectives from "@unocss/transformer-directives";

export default defineConfig({
  rules: [],
  shortcuts: {


    "card-basic": "w-full h-full overflow-hidden rounded-lg border border-transparent flex flex-col justify-center @container",
    "card-transition": "duration-75 transition-colors ease-in-out",
    "card-inner": "relative flex h-full w-full flex-col justify-end",
  },
  presets: [
    presetAttributify(),
    presetUno(),
    presetTypography(),
    presetIcons({
      collections: {
        mdi: () =>
          import("@iconify-json/mdi/icons.json").then((i) => i.default),
      },
    }),
  ],
});